package com.sduept.i1.model;

// 油中气体浓度温度数据报
public class OilGasData {
	private String componentId; // 被检测设备ID
	private byte unitSum; // 采集单元总数
	private byte unitNo; // 采集单元序号
	private int timeStamp; // 采集时间
	private float h2ppm; // 油中H2浓度
	private float oilTemp; // 油中温度
	
	public String getComponentId() {
		return componentId;
	}
	public void setComponentId(String componentId) {
		this.componentId = String.format("%-17s", componentId);
	}
	public byte getUnitSum() {
		return unitSum;
	}
	public void setUnitSum(byte unitSum) {
		this.unitSum = unitSum;
	}
	public byte getUnitNo() {
		return unitNo;
	}
	public void setUnitNo(byte unitNo) {
		this.unitNo = unitNo;
	}
	public int getTimeStamp() {
		return timeStamp;
	}
	public void setTimeStamp(int timeStamp) {
		this.timeStamp = timeStamp;
	}
	public float getH2ppm() {
		return h2ppm;
	}
	public void setH2ppm(float h2ppm) {
		this.h2ppm = h2ppm;
	}
	public float getOilTemp() {
		return oilTemp;
	}
	public void setOilTemp(float oilTemp) {
		this.oilTemp = oilTemp;
	}
}
